package org.mat.ipaas.demo.sso.client;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动：Sa-Token-SSO Client端
 * @author click33 
 */
@SpringBootApplication 
public class MatIpaasDemoSSOClient01Application {

	public static void main(String[] args) {
		SpringApplication.run(MatIpaasDemoSSOClient01Application.class, args);
		System.out.println("\nSa-Token-SSO Client端启动成功\n\n" + str);
	}

	static String str = "-------------------- Sa-Token-SSO Client示例 场景一： --------------------\n\n" +
			"首先在host文件 (C:\\windows\\system32\\drivers\\etc\\hosts) 添加以下内容: \r\n" + 
			"	127.0.0.1 sso-server.mat-ipaas.org \r\n" +
			"	127.0.0.1 sso-client-01.mat-ipaas.org \r\n" +
			"再从浏览器访问：\r\n" + 
			"	http://sso-client-01.mat-ipaas.org:9021";
	
}
